<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" Title="Prueba de C#" CodeFile="~/Vista/PaqAnuEmp.aspx.cs" Inherits="MasterPage2" AutoEventWireup="true" %>

<%@ MasterType TypeName="MasterPage" %>

<asp:content id="Content1" contentplaceholderid="principal" runat="server">



<p colspan="3" class="titulos">Paquete Anual Por Empleado</p>

<div id = "totalfacemitidas" style="">
    <table class="fondo_azul">
    <tr align=center>         
       <td class="campos_formulario">Cedula: </td>
       <td><asp:TextBox ID="Cedula" runat="server" Height="23px" Width="80px" 
               ToolTip="Ingrese la Cedula. ej.(12345)" MaxLength="8"></asp:TextBox>
       
                                            </td><td class="obligatorio" colspan="2">*</td>
       <td><asp:Button ID="Boton" runat="server" Text="Consultar" onclick="buscar" CausesValidation="true" /></td>
    </tr>
    </table>
    
    
    
    <div id="resultado" >
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
            DisplayMode="SingleParagraph" ShowMessageBox="True" />
    
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            
            
            ErrorMessage="El campo de Cedula es Requerido" ControlToValidate="Cedula" 
            Display="None" EnableViewState="False" SetFocusOnError="True"></asp:RequiredFieldValidator>
   
    <br />
    <br />
    <br />
    <asp:GridView ID="GridView1" runat="server" CellPadding="4" 
            ForeColor="#333333" GridLines="None" CaptionAlign="Top" AutoGenerateColumns="False" 
            HorizontalAlign="Center" ShowFooter="True">
        <RowStyle BackColor="#F7F6F3" HorizontalAlign="Center" ForeColor="#333333" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" 
            HorizontalAlign="Center" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
    <br />
    <br />
    <div id="Exportar" style="float: right"><asp:Button ID="Button1" runat="server" 
            Text="Exportar a CSV" Enabled="true" 
            Visible="true" onclick="exportar" /></div>
    <br />
    <br />
    </div>
    
</div>  
</asp:content>



